package com.umgsai.thread.thread73;

public class Main {
	public static void main(String[] args) {
		Service service = new Service();
		ThreadA a = new ThreadA(service);
		ThreadB b = new ThreadB(service);
		a.start();
		b.start();
		/*
		Service service1 = new Service();
        Service service2 = new Service();
        ThreadA threadA = new ThreadA(service1);
        threadA.start();
        ThreadB threadB = new ThreadB(service2);
        threadB.start();
		 */
	}
}
